package br.com.membros.database.services;

import javax.inject.Inject;
import javax.inject.Named;

import br.com.membros.database.entities.UsuarioEntity;
import br.com.membros.database.interfaces.IUsuarioDao;
import br.com.membros.database.utils.GenericService;
import br.com.membros.database.utils.interfaces.IGenericDao;
import br.com.membros.utils.database.beans.UsuarioBean;
import br.com.membros.utils.database.interfaces.IUsuarioService;

@Named
public class UsuarioService extends GenericService<UsuarioBean, UsuarioEntity, Long> implements IUsuarioService {

	@Inject
	private IUsuarioDao dao;
	
	@Override
	protected IGenericDao<UsuarioEntity, Long> getConcreteDao() {
		return dao;
	}

}